export function useListeners(attrs: any) {
  const listeners = reactive<any>({});
  for (const key in attrs) {
    if (key.startsWith('on')) {
      listeners[key.slice(2).toLowerCase()] = attrs[key];
    }
  }
  return listeners;
}
